package LearnDataStructure.c_树结构.例题;

/**
 * @version: 1.0
 * @Author: wuqiu
 * @date: 2023-07-12 20:56
 * @description: LeetcodeLearnAlgorithm -> LearnDataStructure.c_树结构.例题
 */
public class LinkedNodeTwoWay<T> {
    public T date = null;
    public LinkedNodeTwoWay<T> pre = null;
    public LinkedNodeTwoWay<T> next = null;

    public LinkedNodeTwoWay(T date) {
        this.date = date;
    }

    public LinkedNodeTwoWay() {
    }

    @Override
    public String toString() {
        return "LinkedNodeTwoWay{" +
                "date=" + date +
                ", pre=" + pre +
                ", next=" + next +
                '}';
    }
}
